package com.service.Impl;

import com.dao.Calculator;

public class CalculatorServiceImpl  implements Calculator {
    private Calculator calculator;

    public Calculator getCalculator(){
        return calculator;
    }
    public void setCalculator(Calculator calculator){
        this.calculator = calculator;
    }

    @Override
    public int count(int num1, int num2) {
        return calculator.count(num1,num2);
    }
}
